package cwb.dto;


import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Caowenb
 * Date: 2022-03-14
 * Time: 15:12
 */
public class PageMessage<T> {
    int pageNum;
    int pageSize;
    int total;
    List<T> data;
    String status = "200";
    String msg = "操作成功";

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
